package com.mahees.portfolio.domain

class Project {
	
	String name
	String description
	String url
	File mainImage
	List<File> images
	
	static hasMany = [images : DBFile]

    static constraints = {
		name 	(nullable: false, blank: false)
		description (nullable: false, blank: false)
		url		(nullable: true, blank: true)
		mainImage (nullable: true)
    }
}
